import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";

import { VehiclManagementRoutingModule } from "./vehicl-management-routing.module";
import { ParkingsComponent } from "./parkings/parkings.component";

import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { AppCommonModule } from "@app/shared/common/app-common.module";
import { UtilsModule } from "@shared/utils/utils.module";
import { AddMemberModalComponent } from "app/admin/organization-units/add-member-modal.component";
import { AddRoleModalComponent } from "app/admin/organization-units/add-role-modal.component";
import { FileUploadModule } from "ng2-file-upload";
import {
    ModalModule,
    PopoverModule,
    TabsModule,
    TooltipModule,
    BsDropdownModule,
} from "ngx-bootstrap";
import {
    BsDatepickerModule,
    BsDatepickerConfig,
    BsDaterangepickerConfig,
    BsLocaleService,
} from "ngx-bootstrap/datepicker";
import {
    AutoCompleteModule,
    DropdownModule,
    EditorModule,
    FileUploadModule as PrimeNgFileUploadModule,
    InputMaskModule,
    InputSwitchModule,
    PaginatorModule,
    SpinnerModule,
    ToggleButtonModule,
    CalendarModule
} from "primeng/primeng";
import { TableModule } from "primeng/table";
import { TreeModule } from "primeng/tree";
import { DragDropModule } from "primeng/dragdrop";
import { NgxChartsModule } from "@swimlane/ngx-charts";
import { CountoModule } from "angular2-counto";
import { TextMaskModule } from "angular2-text-mask";
import { ImageCropperModule } from "ngx-image-cropper";
import { CreateOrEditParkingModalComponent } from "./parkings/create-or-edit-parking-modal.component";
import { ParkGuardComponent } from "./park-guard/park-guard.component";
import { CreateOrEditParkingGuardModalComponent } from "./park-guard/create-or-edit-parking-guard-modal.component";
import { PlacesComponent } from "./places/places.component";
import { DevicesComponent } from "./devices/devices.component";
import { CreateOrEditDeviceModalComponent } from "./devices/create-or-edit-device-modal.component";
import { CreateOrEditPlaceModalComponent } from "./places/create-or-edit-place-modal.component";
import { UserparkingsComponent } from "./userparkings/userparkings.component";
import { CreateOrEditAddlicenseModalComponent } from "./userparkings/create-or-edit-add-license-modal.component";
import { ParkingsBillingSchemeComponent } from "./parkings-billing-scheme/parkings-billing-scheme.component";
import { CreateOrEditBillingSchemeModalComponent } from "./parkings-billing-scheme/create-or-edit-billing-scheme-modal.component";
import { CreateOrEditRenewPlaceModalComponent } from "./userparkings/create-or-edit-renew-place-modal.component";
import { CreateOrEditUserPlaceModalComponent } from "./userparkings/create-or-edit-user-place-modal.component";
import { PlaceUserModalComponent } from "./places/place-user-modal.component";

@NgModule({
    declarations: [
        ParkingsComponent,
        CreateOrEditParkingModalComponent,
        CreateOrEditParkingGuardModalComponent,
        ParkGuardComponent,
        PlacesComponent,
        DevicesComponent,
        CreateOrEditDeviceModalComponent,
        CreateOrEditPlaceModalComponent,
        UserparkingsComponent,
        CreateOrEditAddlicenseModalComponent,
        ParkingsBillingSchemeComponent,
        CreateOrEditBillingSchemeModalComponent,
        CreateOrEditRenewPlaceModalComponent,
        CreateOrEditUserPlaceModalComponent,
        PlaceUserModalComponent
    ],
    imports: [
        CommonModule,
        VehiclManagementRoutingModule,
        FormsModule,
        ReactiveFormsModule,
        CommonModule,
        FileUploadModule,
        ModalModule.forRoot(),
        TabsModule.forRoot(),
        TooltipModule.forRoot(),
        PopoverModule.forRoot(),
        BsDropdownModule.forRoot(),
        BsDatepickerModule.forRoot(),
        InputSwitchModule,
        UtilsModule,
        AppCommonModule,
        TableModule,
        TreeModule,
        DragDropModule,
        SpinnerModule,
        PaginatorModule,
        PrimeNgFileUploadModule,
        AutoCompleteModule,
        EditorModule,
        InputMaskModule,
        NgxChartsModule,
        CountoModule,
        TextMaskModule,
        ImageCropperModule,
        DropdownModule,
        ToggleButtonModule,
        CalendarModule
    ],
})
export class VehiclManagementModule {}
